package com.fushenlan.commons;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author PC
 * @title: RedisProps
 * @projectName SpringBootDemo
 * @description: TODO
 * @date 2022/1/21 10:57
 */
@Component
@Data
@EqualsAndHashCode
@ToString
public class RedisProps {
    @Value("${spring.profiles.active:dev}")
    private String active;
    @Value("${spring.application.name:app}")
    private String appName;

    public RedisProps() {

    }

}
